home *** CD-ROM | disk | FTP | other *** search
- Path: news1.radix.net!news
- From: jfw@radix.net (Jim Ward)
- Newsgroups: comp.lang.c
- Subject: macros.h
- Date: Wed, 20 Mar 1996 01:45:41 GMT
- Organization: RadixNet Internet Services
- Message-ID: <4innq4$f9p@news1.radix.net>
- NNTP-Posting-Host: dialin28.annex3.radix.net
- X-Newsreader: Forte Free Agent 1.0.82
-
- What is the purpose of macros.h?
-
- I ran across it today, it has some nice macros, so I tried to
- include it and use some of them, but the following inclusion failed:
-
- #include <macros.h>
- #include <stdlib.h>
-
- because both macros.h and stdlib.h define an abs().
-
- From my point of view, this is a bug in the C
- implementation because a /usr/include inclusion should never fail.
- However my attempt failed on two compilers, a SUN and an HP,
- which leads me to believe the fault is mine. Can anyone
- enlighten me?
-
- Jim Ward
-
-